import http from '@/utils/request';
export default {
    async getRoomList(param){
        return await http.get("/api/room/list",param)
    },
    async updateRoomById(param){
        return await http.put("/api/room/update",param)
    },
    async deleteRoomById(param){
        return await http.delete("/api/room/delete",param)
    },
    async addRoom(params){
        return await http.post("/api/room/add",params)
    }
}